<div class="container-fluid">
    <div class="total-box">
        <div class="total-module">
            <div>购买量</div>
            {% if template_title == "basic_setting" %}
                <div class="input-group" style="margin-left: 20px;">
                    <span class="input-group-btn">
                        <button class="btn btn-default" type="button" id="instance_min">-</button>
                    </span>
                    <input type="text" name="instance_count" class="form-control" placeholder="1"
                           style="width:100px; text-align: center;"
                           id="intance_count" value="1">
                    <span class="input-group-btn">
                        <button class="btn btn-default" type="button" id="instance_max">+</button>
                    </span>
                </div>
                <div style="margin:0 10px;">台</div>
                <div class="module-content">
                    <input type="hidden" name="single_money" id="single_money" value="">
                    <div style="font-size: 12px;">配置费用 <span style="color: red;font-size: 16px;"
                                                             id="total_money">￥-元/小时</span>
                    </div>
                    <div style="font-size: 12px;">参考价格，具体扣费请以账单为准。<span style="color: blue;">了解计费详情</span></div>
                </div>
            {% else %}
                <div class="input-group" style="margin-left: 20px;">
                    <span class="input-group-btn">
                        <button class="btn btn-default" type="button" id="instance_min">-</button>
                    </span>
                    <input type="text" name="instance_count" class="form-control"
                           style="width:100px; text-align: center;"
                           id="intance_count" value="{{ total_context.instance_count }}">
                    <span class="input-group-btn">
                        <button class="btn btn-default" type="button" id="instance_max">+</button>
                    </span>
                </div>
                <div style="margin:0 10px;">台</div>
                <div class="module-content">
                    <div style="font-size: 12px;">配置费用 <span style="color: red;font-size: 16px;" id="total_money">￥{{ total_money }}元/小时</span>
                    </div>
                    <div style="font-size: 12px;">参考价格，具体扣费请以账单为准。<span style="color: blue;">了解计费详情</span></div>
                </div>
                <input type="hidden" name="single_money" id="single_money" value="{{ total_context.single_money }}">
            {% endif %}

            <button class="next" type="submit">{{ button_title }}</button>
        </div>
    </div>
</div>

